<!DOCTYPE html>
<html lang="zh-CN" xml:lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app -capable" content="yes">
    <meta name="apple-mobile-web-app -status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>获奖列表</title>
    <link rel="stylesheet" type="text/css" href="../css/base.css">
    <link rel="stylesheet" type="text/css" href="../css/index.css">
</head>
<body style="background: #f8f8f8">
<div id="loading"></div>

<div class="prize-box" id="prize-box">
    <transition name="fade">
        <div class="model-alert" v-if="errorDialog">
            <div class="model-cover"></div>
            <div class="model-content alert-box">
                {{errorMsg}}
                <div class="alert-btn" @click="closeErrorDialog">稍后再试</div>
            </div>
        </div>
    </transition>
    <ul class="prize-list" v-if="list.length>0">
        <li v-for="item in list">
            <div class="flex jcsb">
                <div class="prize-name">
                    <div class="prize-tit">{{item.title}}</div>
                    <div class="prize-time">{{item.addtime}}</div>
                </div>
                <div class="prize-num" :class="{viewPrize : !!parseInt(item.isfull)}"><a :href="'receive-information.html?id='+item.id+'&prizeid='+item.prizeid+'&prizeshortname='+item.shorttitle">{{!!parseInt(item.isfull)?'查看信息':'填写信息'}}</a></div>
            </div>
        </li>
    </ul>
    <div v-else style="padding-top: 100px;">
        <img src="../assets/images/data_empty.jpg" style="width: 50%;display: block;margin: 0 auto;">
        <div style="font-size: 16px; text-align: center; color: #666;padding-top: 25px;">感谢参与，祝您新年愉快！</div>
    </div>
</div>
<script src="../assets/js/vue.min.js"></script>
<script src="../assets/js/jquery-3.0.0.min.js"></script>
<script src="../assets/js/jweixin-1.4.0.js"></script>
<script src="../assets/js/wx-share.js"></script>
<script src="../js/api.js"></script>
<script src="../js/common.js"></script>
<script src="../js/prize-list.js"></script>

</body>
</html>
